package org.datedemo;

import java.util.Calendar;

public class Sx {
    public static void main(String[] args) {
        var c2 = Calendar.getInstance();
        int cy = c2.get(Calendar.YEAR);
        System.out.println(2000%12);
        for (int year = 2000; year <= cy; year++) {
            if ((year % 400 == 0 || year % 4 == 0 && year % 100 != 0) && year % 12 == 4) {
                System.out.printf("%d年是闰年 鼠年%n", year);
            } else if ((year % 400 == 0 || year % 4 == 0 && year % 100 != 0) && year % 12 == 5) {
                System.out.printf("%d年是闰年 🐂年%n", year);
            } else if ((year % 400 == 0 || year % 4 == 0 && year % 100 != 0) && year % 12 == 6) {
                System.out.printf("%d年是闰年 🐅年%n", year);
            } else if ((year % 400 == 0 || year % 4 == 0 && year % 100 != 0) && year % 12 == 7) {
                System.out.printf("%d年是闰年 🐇年%n", year);
            } else if ((year % 400 == 0 || year % 4 == 0 && year % 100 != 0) && year % 12 == 8) {
                System.out.printf("%d年是闰年 龙年%n", year);
            } else if ((year % 400 == 0 || year % 4 == 0 && year % 100 != 0) && year % 12 == 9) {
                System.out.printf("%d年是闰年 🐍年%n", year);
            } else if ((year % 400 == 0 || year % 4 == 0 && year % 100 != 0) && year % 12 == 10) {
                System.out.printf("%d年是闰年 🐎年%n", year);
            } else if ((year % 400 == 0 || year % 4 == 0 && year % 100 != 0) && year % 12 == 11) {
                System.out.printf("%d年是闰年 🐏年%n", year);
            } else if ((year % 400 == 0 || year % 4 == 0 && year % 100 != 0) && year % 12 == 0) {
                System.out.printf("%d年是闰年 猴年%n", year);
            } else if ((year % 400 == 0 || year % 4 == 0 && year % 100 != 0) && year % 12 == 1) {
                System.out.printf("%d年是闰年 🐔年%n", year);
            } else if ((year % 400 == 0 || year % 4 == 0 && year % 100 != 0) && year % 12 == 2) {
                System.out.printf("%d年是闰年 🐕年%n", year);
            } else if ((year % 400 == 0 || year % 4 == 0 && year % 100 != 0) && year % 12 == 3) {
                System.out.printf("%d年是闰年 🐖年%n", year);
            }

        }
    }
}
